home *** CD-ROM | disk | FTP | other *** search
- Path: granite.sentex.net!usenet
- From: mvejvoda@sentex.net (Mark Vejvoda)
- Newsgroups: comp.lang.c++
- Subject: Code Base 5.1 problem
- Date: Sat, 03 Feb 1996 01:52:43 GMT
- Organization: Sentex Communications Corporation.
- Message-ID: <4eufsf$908@granite.sentex.net>
- NNTP-Posting-Host: p6.lithium.sentex.ca
- X-Newsreader: Forte Free Agent 1.0.82
-
- I am writing my own DLL and I'm tryin to link in a codebase 5.1 static
- library (as per instructions in the COMPILER.DOC) in Borlandc C++
- 4.02. In my D4ALL.H header i've declated some global vars to be used
- in each .C module that i write. When i include d4all.h in these .C
- modules the compile works.. but the linker says that the global
- variables have been duplicated in each subsequent .C module. Why is
- this.. what have i done wrong?
-
-